/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Motor;

/**
 *
 * @author yindri
 */
public class PedidoEnTienda
{
	private boolean compraConScanner;
	private int idScanner;
	private Scanner elScanner;

	public PedidoEnTienda(boolean compraConScanner, int idScanner, Scanner elScanner) {
		this.compraConScanner = compraConScanner;
		this.idScanner = idScanner;


		if (compraConScanner==false)
			this.elScanner = null;
		else
			this.elScanner = elScanner;
	}

	public boolean isCompraConScanner() {
		return compraConScanner;
	}

	public void setCompraConScanner(boolean compraConScanner) {
		this.compraConScanner = compraConScanner;
	}

	public Scanner getElScanner() {
		return elScanner;
	}

	public void setElScanner(Scanner elScanner) {
		this.elScanner = elScanner;
	}

	public int getIdScanner() {
		return idScanner;
	}

	public void setIdScanner(int idScanner) {
		this.idScanner = idScanner;
	}



}
